<h2>Create Bundle - Step 2</h2>
<p class="desc">Please select what should happen with the existing 
languages. You can either choose to leave them empty and mark them
as untranslated or you can upload other <code>.properties</code>
files with translations.</p>

<form action="<?php echo $this->url() ?>" enctype="multipart/form-data" method="post">

<?php foreach($this->languages as $language): ?>
<h3><?php echo $this->escape($language->name)?></h3>
<div class="grid clearfix">
<div class="box_6 first">
	<input type="radio" name="decisions[<?php echo $language->code ?>]" value="empty" checked="checked" id="decision-<?php echo $language->code ?>-empty" />
	<label for="decision-<?php echo $language->code ?>-empty" class="inline">Create empty translation</label>
</div>
<div class="box_6 last">
	<input type="radio" name="decisions[<?php echo $language->code ?>]" value="file" id="decision-<?php echo $language->code ?>-file" />
	<label for="decision-<?php echo $language->code ?>-file" class="inline">Upload existing translation</label>
	
	<input type="file" name="file[<?php echo $language->code ?>]" />
</div>
</div>
<hr />
<?php endforeach; ?>

<div style="text-align: center; margin-top: 1em;">
	<input type="submit" value="Save" class="fancybutton emphasized" />
	
	<a href="<?php echo $this->url(array('action' => 'create')) ?>" class="fancybutton">Cancel</a>
</div>
</form>